//package com.itmk.web.meteorological_station.repository;
//
//import com.itmk.web.meteorological_station.entity.MeteorologicalStation;
//import org.springframework.data.jpa.repository.Query;
//import org.springframework.data.repository.CrudRepository;
//import org.springframework.data.repository.query.Param;
//import java.time.LocalDateTime;
//import java.util.List;
//
//public interface MeteorologicalStationRepository extends CrudRepository<MeteorologicalStation, Integer> {
//
//    // 查找指定日期范围内的记录
//    @Query("SELECT m FROM MeteorologicalStation m WHERE m.dt BETWEEN :start AND :end")
//    List<MeteorologicalStation> findByDtBetween(@Param("start") LocalDateTime start, @Param("end") LocalDateTime end);
//}
